<?php
/**
 * 产品类别
 * @author zengnz
 *
 */
class ProductCategoryModel extends CommonModel
{
	protected $tableName = 'shop_product_category';
	
	//字段自动验证
	protected $_validate = array(
		array('name','require','类别名称必须填写！'),
		array('name','/^[\d\-\u4e00-\u9fa5]*$/','类别名称只能含有中英文字符和数字！')
	);
	
}